package com.yhsoft.mall.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class GoodsBarContentListInVo {

    @ApiModelProperty("默认显示数量，不能为空,不需要的话补0")
    @NotNull(message = "默认显示数量，不能为空,不需要的话补0")
    private Integer num;


    @ApiModelProperty("商品id")
    private List<GoodsBarGoodsListInVo> goodsIds;

    @Override
    public String toString() {
        return "{" +
                 "\""+"num"+"\":" +"\""+ num +"\"" +
                "," + "\""+"goodsIds"+"\":" +""+ goodsIds +"" +
                "}";
    }
}
